package org.redpig.mimall.service;

import org.redpig.mimall.pojo.User;
import org.redpig.mimall.vo.ResponseVo;

public interface IUserService {

    /**
     * 注册
     */
    ResponseVo<User> register(User user);

    /**
     * 登录
     */
    ResponseVo<User> login(String username, String password);
}
